package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author bob
 * @since 2025-01-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TMatOutput对象", description="领料出库表")
public class TMatOutput implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "状态")
    private Integer stat;

    @ApiModelProperty(value = "物料编码")
    private String bn;

    @ApiModelProperty(value = "材料名称")
    private String na;

    @ApiModelProperty(value = "型号规格")
    private String size;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "生产计划id")
    private Integer pid;

    @ApiModelProperty(value = "计划数量")
    private Double pqt;

    @ApiModelProperty(value = "实际出库数量")
    private Double oqt;

    @ApiModelProperty(value = "出库金额")
    private Double amount;

    @ApiModelProperty(value = "出库时间")
    private Date outdate;

    @ApiModelProperty(value = "仓库代码")
    private String store;

    @ApiModelProperty(value = "领用部门id")
    private Integer oid;

    @ApiModelProperty(value = "经办人guid")
    private Long guid;

    private Date date;

    private String ena;//员工姓名
    private Long eid;//员工编号
    private String pbn;//用于生产的产品编号


}
